package com.school.graduation.bean;

public class SignCallBack {

    /**
     * user : 2
     * status : signin success
     * data : {"name":"hhh","password":"$2a$10$D./MX8Uysku7ONYBO0zaUejVgNE59E3luUf4fcI68NtgITStPxjsy","city":"beijing","_id":"5901bae7207f160e15c07a64","__v":0,"meta":{"updateAt":"2017-04-27T09:33:27.945Z","createAt":"2017-04-27T09:33:27.945Z"},"role":0}
     */

    private int user;
    private String status;
    private DataBean data;

    public int getUser() {
        return user;
    }

    public void setUser(int user) {
        this.user = user;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * name : hhh
         * password : $2a$10$D./MX8Uysku7ONYBO0zaUejVgNE59E3luUf4fcI68NtgITStPxjsy
         * city : beijing
         * _id : 5901bae7207f160e15c07a64
         * __v : 0
         * meta : {"updateAt":"2017-04-27T09:33:27.945Z","createAt":"2017-04-27T09:33:27.945Z"}
         * role : 0
         */

        private String name;
        private String password;
        private String city;
        private String _id;
        private int __v;
        private MetaBean meta;
        private int role;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String get_id() {
            return _id;
        }

        public void set_id(String _id) {
            this._id = _id;
        }

        public int get__v() {
            return __v;
        }

        public void set__v(int __v) {
            this.__v = __v;
        }

        public MetaBean getMeta() {
            return meta;
        }

        public void setMeta(MetaBean meta) {
            this.meta = meta;
        }

        public int getRole() {
            return role;
        }

        public void setRole(int role) {
            this.role = role;
        }

        public static class MetaBean {
            /**
             * updateAt : 2017-04-27T09:33:27.945Z
             * createAt : 2017-04-27T09:33:27.945Z
             */

            private String updateAt;
            private String createAt;

            public String getUpdateAt() {
                return updateAt;
            }

            public void setUpdateAt(String updateAt) {
                this.updateAt = updateAt;
            }

            public String getCreateAt() {
                return createAt;
            }

            public void setCreateAt(String createAt) {
                this.createAt = createAt;
            }
        }
    }
}
